package com.read.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.read.entity.BookChapter;
import com.read.resp.BaseResp;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName BookChapterService
 * @Description TODO
 * @Author young
 * @Date 2022-11-05 14:45
 * @Version 1.0
 **/
public interface BookChapterService extends IService<BookChapter> {
    BaseResp findChaptersByBookId(String bookId);

    BaseResp findContentByBookId(String bookId,Integer id, HttpServletRequest request);

    BaseResp findPreContentById(String bookId, Integer id, HttpServletRequest request);

    BaseResp findNextContentById(String bookId, Integer id, HttpServletRequest request);
}
